package pms.device;
import java.util.ArrayList;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import pms.device.domain.Device;

public class DeviceEntity {
	
	@Autowired
	Device device=new Device();
	
	@Autowired
	ArrayList<Device> groupDevice= new ArrayList<Device>();
	
	@Test
	public void test() {
		for(int i=0;i<10;i++) {
			Device device=new Device();
			device.setId((long) i);
            device.setDevice_name("device_name"+i);
            device.setDevice_num("device_num"+i);
            device.setDevice_place("device_place"+i);
			groupDevice.add(device);
		}
	}
}